You can use these INI options with this rule:
< SortBatches >
BatchFileName =
SortDefault =
< SortBatchOptions >
BuildSortKey =
SortCommand =
LogSortCommand =
KeepOrgFile =
ZeroBasedOffsets =
< SortBatchSortTypes >
a =
b =
< SortBatchFieldTypes >
Long =
Char_Array =
Use the options in the SortBatches control group to specify the name of the batch file and the fields you want to sort by.
Option |
Description |
BatchFileName |
Enter the name of the batch file. |
SortDefault |
Enter the fields you want to sort by plus A for an ascending sort or D for a descending sort. The default is: ACCOUNT_NUMBER(A);COMPANY(A);FEAT_DESCR (A) |
You specify all processing options for the SortBatches rule in the SortBatchOptions control group.
< SortBatchOptions >
BuildSortKey =
LogSortCommand =
KeepOrgFile =
ZeroBasedOffsets =
Option |
Description |
BuildSortKey |
Enter Yes to specify single key processing. The default on Windows is Yes. The default on UNIX is No. |
LogSortCommand |
Enter Yes to send a copy of the sort command and associated sort options to the trace log file. The default is No. |
KeepOrgFile |
Enter Yes to write the original batch files in an unmodified format. The sorted batch files are written with an SRT extension. The default is No. |
ZeroBasedOffsets |
Enter Yes to use zero based offsets. The default is No. |
By default, the field-level sort type is written as a for ascending and d for descending. You can override these default values using the SortBatchSortTypes control group:
< SortBatchSortTypes >
a = Replacement_Ascending_Type
d = Replacement_Descending_Type
Field types are based on the internal field type defined in the RCB DFD (INT_TYPE). By default their types are set to c for character fields or n for numeric fields, but you can override these values. In the example below, fields defined as LONG have a field type of “num” and fields defined as CHAR_ARRAY have a field type of “char”.
< SortBatchFieldTypes >
Long = num
Char_Array = char
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.